﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ValidationFramework.Tests.Integration
{
	class AttributeConfiguration
	{
		//public class BaseClass
		//{
		//    public string property1 { get; set; }
		//}

		//public class InheritedClass : BaseClass
		//{
		//    public string property2 { get; set; }
		//}

		//[Test]
		//public void Should_Check_Rules_Defined_On_Base_Class_And_Current_Class()
		//{
		//    var baseClass = new BaseClass();
		//    var validationErrors = Validation.Validate(baseClass, new ValidationOptions());
		//    Assert.AreEqual(1, validationErrors.Count);

		//    var inheritedClass = new InheritedClass();
		//    var inheritedClassValidationErrors = Validation.Validate(inheritedClass, new ValidationOptions());
		//    Assert.AreEqual(2, inheritedClassValidationErrors.Count);
		//}
	}
}
